From 6f8c56873ec64e066254737e402a3b570fbd2576 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 5 Dec 2016 13:49:14 +0000 Subject: [PATCH] gcov: explicitly include xen/init.h Travis discovered arm32 gcov code failed to build because __init was not defined. Include init.h explicitly to fix the issue. Signed-off-by: Wei Liu Reviewed-by: Andrew Cooper --- xen/common/gcov/gcov_base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/common/gcov/gcov_base.c b/xen/common/gcov/gcov_base.c index e5065db5ab..34a0183521 100644 --- a/xen/common/gcov/gcov_base.c +++ b/xen/common/gcov/gcov_base.c @@ -15,6 +15,8 @@ #include "gcov.h" +#include + /* * __gcov_init is called by gcc-generated constructor code for each object * file compiled with -fprofile-arcs. -- 2.30.2